package com.lijunyan.blackmusic.eventbus;

import com.lijunyan.blackmusic.entity.UserInfo;

/*
 * path: RestaurantDemo
 * Author: 86133
 * Create: 2019/12/3 11:35
 * Changes (from 2019/12/3)
 * Desc:
 */
public class LoginStateEventBus {

    private boolean isLogin;

    private UserInfo userInfo;

    public LoginStateEventBus() {

    }

    public LoginStateEventBus(boolean isLogin, UserInfo userInfo) {
        this.isLogin = isLogin;
        this.userInfo = userInfo;
    }

    public LoginStateEventBus(boolean isLogin) {
        this.isLogin = isLogin;
    }

    public boolean isLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }
}
